package com.wm.dao;

import java.util.List;

import com.wm.bean.Dish;
import com.wm.bean.Restaurant;

import cn.itcast.bean.Person;

public interface DishDao {

	public List<Dish> getDish(Restaurant rest);
	public List<Dish> getDishByName(String hql);
	public List<Dish> getDishsByNameHql(int beginNum, int maxResults, String hql);
	public int getDishPagesWithHql(int maxResults, String hql);
	/*public void save(Dish dish);

	public void update(Dish dish);

	public Person getPerson(Integer dishid);

	public void delete(Integer dishid);

	public List<Dish> getRestaurants(int beginNum, int maxResults);

	public int getRestPages(int maxResults);*/
	
}